package net.seayan.designpattern4j.proxy.impl;

import net.seayan.designpattern4j.proxy.IProxy;

public class Secretary implements IProxy {
	private IProxy proxyed;
	
	public Secretary(IProxy iProxy){
		this.proxyed=iProxy;
	}
	
	@Override
	public void readMail() {
		proxyed.readMail();
	}

	@Override
	public void writeMail() {
		proxyed.writeMail();
	}

}
